package com.cloud.fork.service;

import com.cloud.fork.domain.Context;

import java.util.concurrent.RecursiveAction;

public abstract class AbstractLoadDataService extends RecursiveAction implements ILoadDataService {
    Context context;

    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }

    @Override
    protected void compute() {
        load(context);
    }
}
